{extend name="index_layout"/}
{block name="main"}
<form class="layui-form" id="c" method="post">
    <input type="hidden" name="id" value="{$data.id}">
    <input type="hidden" name="member_id" value="{$data.member_id}">
    <input type="hidden" name="status" value="{$data.status}">
    <input type="hidden" name="data_assess_file" value="{$data.assess_file}">
    <div class="layui-form-item">
        <label class="layui-form-label">标的名称</label>
        <div class="layui-input-block">
            <input type="text" name="name" value="{$data.name}"  autocomplete="off"
                   placeholder="物品名称"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">调查区域</label>
        <div class="layui-input-block">
            <input type="text" name="area" value="{$data.area}"  autocomplete="off"
                   placeholder="调查区域"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">价格内涵</label>
        <div class="layui-input-block">
            <input type="text" name="price" value="{$data.price}"  autocomplete="off"
                   placeholder="价格内涵"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">基准日期</label>
        <div class="layui-input-block">
            <input type="text" name="ji_data" value="{$data.ji_data}"  autocomplete="off"
                   placeholder="基准日期"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">启用时间</label>
        <div class="layui-input-block">
            <input type="text" name="start_time" value="{$data.start_time}"  autocomplete="off"
                   placeholder="启用时间"
                   class="layui-input">
        </div>
    </div>


    <div class="layui-form-item c4">
        <label class="layui-form-label">图片</label>
        <div class="layui-input-block">
            <input type="text" name="imgs" id="c-pic" value="{$data.imgs}" class="layui-input">
        </div>
        <div class="layui-input-block">
            <button type="button" class="layui-btn faupload" id="faupload-pic" data-multiple="true"
                    data-input-id="c-pic"
                    data-preview-id="p-pic" data-type="image"><i class="layui-icon layui-icon-upload"></i> 上传
            </button>
            <button type="button" class="layui-btn fachoose" data-multiple="true" data-mimetype="image"
                    data-input-id="c-pic" id="fachoose-c-pic"><i class="iconfont icon-other"></i> 选择
            </button>
            <ul class="layui-row list-inline plupload-preview" id="p-pic"></ul>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">标的详情</label>
        <div class="layui-input-block">
            <textarea name="desc" placeholder="标的详情" class="layui-textarea">{$data.desc}</textarea>
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">其他材料</label>
        {volist name="query_order_file" id="vo"}
        <div><a href="{$vo.url}" target="_blank" >{$vo.file_name}</a></div>
        {/volist}
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">评估概述</label>
        <div class="layui-input-block">
            <input type="text" name="query_order_desc" value="{$data.query_order_desc}"  autocomplete="off"
                   placeholder="评估概述"
                   class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">评估文件</label>
        <div class="layui-input-block">
            {:Form::upload("assess_file",$data['assess_file'],["lay-verify"=>"required"])}
        </div>
    </div>

    <div class="layui-form-item layer-footer">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit="">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
{/block}
{block name="script"}
<script type="text/javascript">
    layui.use(['yznForm', 'form'], function () {
        var yznForm = layui.yznForm;
        var form = layui.form;
        yznForm.bindevent($("form.layui-form"));
    });

</script>
{/block}